home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / boot / PicBoot.lha / PicBoot.Man < prev    next >
Text File  |  1995-07-17  |  29KB  |  772 lines

  1.  
  2.  
  3.    This file describes PicBoot, version 2.7, a program that shows an
  4. IFF ILBM or GIF picture during boot.
  5.  
  6. Introduction
  7. ************
  8.  
  9.    Have you removed all output in your 2.0+ startup, and only see a
  10. black screen during boot? Wouldn't it be nice to have a picture
  11. instead? A picture that disappeared when the Workbench screen opened?
  12.  
  13.    If so, PicBoot is certainly a program for you. What it will do is
  14. to read any IFF file containing an ILBM - or GIF - picture, and show
  15. it. As soon as the Workbench screen appears (or you press any
  16. mouse-button), the picture will go away.
  17.  
  18.    Features:
  19.  
  20.    *  Fast picture unpacking, using highly optimized assembler. The
  21.      entire picture is read into memory and then unpacked. This applies
  22.      both to the IFF and the GIF unpacker.
  23.  
  24.    *  Optional auto-detaching; the picture is loaded as fast as
  25.      possible, with minimal memory fragmentation.
  26.  
  27.    *  A picture can be shown a user-specified time after the
  28.      Workbench screen opens (see DELAY and PATCH).
  29.  
  30.    *  Extremely flexible argument parser.
  31.  
  32.    *  Random select among any number of pictures, in several different
  33.      ways.
  34.  
  35.    *  Force a certain display mode for a picture, even if saved with
  36.      another (can be selected on a picture by picture basis).
  37.  
  38.    *  IFF ILBM pictures may be packed with Xpk.
  39.  
  40.    *  The comment field of a file may be used to specify options.
  41.  
  42.    *  Optional screen centering (horisontally).
  43.  
  44.    *  Optional screen fading (in various forms). Uses the increased
  45.      palette range in AA (24 bits).
  46.  
  47.    *  Should work with most "Intuition emulators" for gfx-cards.
  48.  
  49. System requirements
  50. *******************
  51.  
  52.    Apart from OS 2.04+, PicBoot doesn't require any special
  53. libraries. The only non-ROM library required is iffparse.library
  54. (which normally resides in Libs:).
  55.  
  56.        PicBoot have full support for OS 3.0+ and AA graphics. It
  57. should even work with gfx-cards that have an "Intuition emulator".
  58.  
  59. Legal information
  60. *****************
  61.  
  62.    This program is freeware. You may copy and use this program freely,
  63. as long as the following conditions are met:
  64.  
  65.    *  All files are copied in an unmodified state. If additional
  66.      information is needed, place it in a separate file. Preferably
  67.      redistribute in the original archive form (*.Lha).
  68.  
  69.      Exception: So called BBS ads may not be added!
  70.  
  71.    *  The copying is done on a non-commercial and non-profit basis
  72.      only. A copy fee to cover media costs, postage etc. may be
  73.      charged. This fee may not exceed the fee to obtain an AmigaLibDisk
  74.      from Fred Fish.
  75.  
  76.    *  The copier/spreader is not claiming the Copyright © of this
  77.      program.
  78.  
  79.    Any exceptions from these restrictions requires written permission
  80. from the author, Magnus Holmgren (see Author contact).
  81.  
  82. Disclaimer
  83. ==========
  84.  
  85.    Magnus Holmgren neither assume nor accept any responsibility for the
  86. use or misuse of these programs. He also will not be held liable for
  87. damages or any compensation due to loss of profit or any other damages
  88. arising out of the use, or inability to use these programs.
  89.  
  90.    Magnus Holmgren will not be liable for any damage arising from the
  91. failure of these programs to perform as described, or any destruction
  92. of other programs or data residing on a system attempting to run the
  93. programs. While he know of no damaging errors, the user of these
  94. programs uses it at his or her own risk.
  95.  
  96. Usage
  97. *****
  98.  
  99.    To activate PicBoot, add a line to your S:Startup-Sequence,
  100. looking something like this:
  101.  
  102.      PicBoot Pics:Hi-res/Calvin01.Pic DETACH
  103.  
  104. Or, if you have a list of files in "Work:Text/PicList":
  105.  
  106.      PicBoot Work:Text/PicList LIST DETACH
  107.  
  108.    Or, if your drawer Pics:BootPics contains some pictures:
  109.  
  110.      PicBoot Pics:BootPics/#?.(Pic|Gif) DETACH
  111.  
  112.    This line should be located near the beginning in the
  113. S:Startup-Sequence (no point in placing it near the LoadWB
  114. command, is it? :), but keep it after SetPatchPicBoot will only
  115. output any text if it fails, so don't re-direct its output. Note however
  116. that if you place PicBoot before any additional monitors are
  117. installed, you'll be stuck with the default.monitor for showing your
  118. picture. The DEFAULT switch may be of help here.
  119.  
  120.    Make sure no program makes any output in the CLI window, since then
  121. the Workbench screen will open with a boring CLI-window instead...
  122.  
  123.    Options:
  124.  
  125. FILES
  126. =====
  127.  
  128.    This is the only required argument. Here you specify the name of the
  129. picture you want to view. You may enter several files here, in which
  130. case PicBoot will select one of them randomly, and show that one.
  131.  
  132.    The name(s) can also be the name of an ASCII file containing a
  133. filename list if you specified the LIST option.
  134.  
  135.    The name(s) can also be the name of a drawer, in which case
  136. PicBoot will randomly select one of the files in this drawer. To
  137. use a pattern during this scanning, simply enter the pattern like it
  138. had been the name of a file in the drawer. Example:
  139.  
  140.      Work:Pics/#?.gif
  141.  
  142. which would make PicBoot select a file ending in .gif in the drawer
  143. Work:Pics
  144.  
  145.    If the comment field of the selected listfile or picture starts with
  146. "*PicBoot*: " (case sensitive), then the rest of the comment is taken
  147. to be arguments, like those in a LIST file.
  148.  
  149.    You may freely mix picture and drawer names. Listfiles can only be
  150. mixed with the other two ones if the comment contains the LIST switch.
  151. In that case, the LIST argument should not be used on the command line
  152. (or in a list file). Ofcourse you can random select among list files
  153. with the "drawer scanner" if you like.. :)
  154.  
  155. MODEID
  156. ======
  157.  
  158.    Short form: M
  159.  
  160.    NOTE: This argument is mainly for the more "advanced" user.
  161.  
  162.    This argument should be a decimal number specifying which screen
  163. mode to use.  It basically replaces the so called CAMG hunk in an ILBM
  164. file (since it contains which screen mode to use). Thus, you must
  165. select mode with care, or else the picture will look like trash
  166. (nothing more serious can happen. I hope! :). When showing GIF files,
  167. it will override the internal "best mode" routines (which aren't good
  168. at all. But I haven't bothered to add code to make them better.. :).
  169.  
  170.    To make it easier for you to find out which display mode id to use,
  171. there is a small program called GetModeID included, which uses the
  172. ReqTools or Asl screenmode requester. Simply select the display
  173. mode you want, and it will print out the number you should use here.
  174. See GetModeID.
  175.  
  176.    The mode id will be passed through the same validity checking as a
  177. normal so called CAMG chunk, so PicBoot should handle bad values
  178. properly (although I haven't tested this much.. :).
  179.  
  180. PASSWORD
  181. ========
  182.  
  183.    Short form: PW
  184.  
  185.    Here you can specify the password for an Xpk-encrypted IFF ILBM
  186. picture.
  187.  
  188. LIST
  189. ====
  190.  
  191.    Short form: L
  192.  
  193.    If this switch is specified, PicBoot will interpret the files in
  194. the FILES argument as names of files containing a list of pictures (or
  195. rather, argument lines). PicBoot will then randomly select one of the
  196. lines in the selected file, and process it almost like a normal argument
  197. line. The only difference is that you can't use the DETACH, DELAY,
  198. PATCH or ACTIVATEWB arguments. These arguments may not be specified in
  199. a listfile (no point in doing it anyway).
  200.  
  201.    The listfile is an ASCII (text) file with a simple layout. On the
  202. first line you specify the number of argument lines in the file. This is
  203. usually <number of lines in file>-2 (one line is occupied by the count,
  204. and the other is the last linefeed). If this value is zero, then
  205. PicBoot will exit silently. The rest of the file is simply the
  206. argument lines to choose from. An example:
  207.  
  208.      4
  209.      Work:Pics/Comics/Calvin02.Pic MODEID 137220
  210.      Work:Pics/Comics/Calvin03.Gif
  211.      Work:Text/MoreCalvins.txt LIST CENTER ON
  212.      Work:Pics/Misc/#?.Gif
  213.  
  214.    Note that any arguments specified from the CLI, or in any previous
  215. listfile, will be taken as the new default value. In the listfile you
  216. may alter this default. This does not include the LIST argument
  217. (ofcourse). It is always turned off before parsing a line.
  218.  
  219.        Warning: Since you may enter a new listfile within a listfile,
  220. you can be caught in an endless loop, constantly changing (maybe to the
  221. same) listfile. No checking for this is done. Also, since there is no
  222. CLI-window around, you have no chance to send PicBoot any CTRL-C, if
  223. PicBoot should happen to listen to this. You have been warned! :)
  224.  
  225.        Note: A line in a listfile may not be more than 512 chars, or
  226. it will be truncated when read. This shouldn't cause any problems I
  227. think..
  228.  
  229. CENTER
  230. ======
  231.  
  232.    Short form: C
  233.  
  234.    Possible arguments: YES, ON, NO, OFF. Default is NO.
  235.  
  236.    If this switch is on (argument is YES or ON), PicBoot will center
  237. the picture. This centering should work fine for most screen modes, but
  238. one can never know.. :) If a screen promotor is active, then
  239. PicBoot can get it wrong (if the screen is opened in another mode
  240. than PicBoot had asked for).
  241.  
  242. DEFAULT
  243. =======
  244.  
  245.    Short form: DEF
  246.  
  247.    Possible arguments: YES, ON, NO, OFF. Default is NO.
  248.  
  249.    If this switch is on (argument is YES or ON), PicBoot will force
  250. the picture to use the default.monitor, regardless of what was actually
  251. stored in the picture (in the CAMG chunk). This is needed since very
  252. early in the startup, default.monitor is the only monitor available
  253. (e.g.  multiscan.monitor is normally not available). In the future, I
  254. might add more types of "forcing" (e.g. force a picture to PAL, NTSC or
  255. whatever that might be useful).
  256.  
  257.    This switch also acts on the MODEID parameter, if specified.
  258.  
  259. AUTOSCROLL
  260. ==========
  261.  
  262.    Short form: AS
  263.  
  264.    Possible arguments: YES, ON, NO, OFF. Default is NO.
  265.  
  266.    If this switch is on (argument is YES or ON), the OS 2.0+
  267. autoscrolling of screens will be enabled.
  268.  
  269.        Note: During boot, this switch may make the actual display a
  270. bit smaller than normally possible. There is nothing I can do about
  271. that... :) You can, however, by ensuring that ENV:/IPREFS is properly
  272. set up before PicBoot is started. Or you could try the VIDEOOVERSCAN
  273. switch.
  274.  
  275. VIDEOOVERSCAN
  276. =============
  277.  
  278.    Short form: VO
  279.  
  280.    Possible arguments: YES, ON, NO, OFF. Default is NO.
  281.  
  282.    If this switch is on (argument is YES or ON), the visible size of the
  283. opened screen will be as large as the system can handle (assuming the
  284. picture is large enough). Forces AUTOSCROLL to YES.
  285.  
  286. RTG
  287. ===
  288.  
  289.    Possible arguments: YES, ON, NO, OFF. Default is NO.
  290.  
  291.    If this switch is on (argument in YES or ON), then PicBoot will do
  292. things a little differently, in an attempt to make it work with
  293. gfx-cards (it have been tested with Picasso II). The main difference
  294. is that the screen is opened first, and the picture is decoded into
  295. this screen (usually the picture is decoded first, and then the screen
  296. is opened).  Thus, you should only use this switch if the picture
  297. should be shown with the gfx-card rather than the native Amiga
  298. graphics. If the gfx-card isn't used, the picture decoding may be a
  299. little slower.
  300.  
  301.    Oh, btw, RTG stands for ReTargetable Graphics.
  302.  
  303.        Note: This feature requires OS 3.0 to work. If you don't have
  304. OS 3.0, then this argument is ignored.
  305.  
  306.        Note: You might need to specify a new MODEID in order for
  307. PicBoot to use gfx-card screen.
  308.  
  309. WRITEPIXELLINE
  310. ==============
  311.  
  312.    Short form: WPL
  313.  
  314.    Possible arguments: YES, ON, NO, OFF. Default is NO.
  315.  
  316.    If this switch is on (argument is YES or ON), then PicBoot will use
  317. a ROM function to convert/write the pixel data of a GIF picture.
  318. Please note that this only have any effect if RTG have been used, and
  319. the opened screen isn't a native Amiga screen.
  320.  
  321.    In some cases, this can make PicBoot faster, but in others, it can
  322. make PicBoot slower. There is an explanation for this, but it is a
  323. bit technical. If you don't understand it (or you don't know enough
  324. about your gfx-card), then I suggest you test it a little, finding out
  325. which is fastest for different pictures.
  326.  
  327.    Most gfx-cards have a "chunky" screen. That is, each pixel is stored
  328. in one byte, which specifies which color (in a palette) that the pixel
  329. have. This is different from the native Amiga screen that have
  330. bitplanes (where the color number is spread over several bytes). Since
  331. a GIF picture stores the data in a chunky format, it would be a waste
  332. of time to first convert the chunky data to bitplane form, and then
  333. back again, if it should be displayed in a chunky screen.
  334.  
  335.    In that case (a chunky screen), this switch can improve the speed
  336. quite a lot, if a certain ROM function is patched by the Intuition
  337. emulator.  This patch should simply write the chunky data directly to
  338. the right area of the screen.
  339.  
  340.    However, not all gfx-card screens are chunky (at least the Picasso
  341. II stores 2-16 color screens as bitplanes), and perhaps the "Intuition
  342. emulator" haven't patched the above mentioned function. In those cases,
  343. then this switch will make things slower (since the original function
  344. (which converts the chunky data to bitplane form) is quite a bit slower
  345. than the routines in PicBoot).
  346.  
  347.    To test which is fastest, use something similar to the following
  348. commads:
  349.  
  350.      PicBoot Pics:Gifs/Island.gif RTG ON DETACH
  351.      PicBoot Pics:Gifs/Island.gif RTG ON DETACH WPL
  352.  
  353. and measure how long time both commands took to run (note that
  354. PicBoot detaches after the picture have been completely decoded),
  355. and only use the WPL switch if it made PicBoot faster.
  356.  
  357. FADEIN
  358. ======
  359.  
  360.    Short form: FI
  361.  
  362.    Argument range: 1 to 4. Default is no value.
  363.  
  364.    This value specifies the speed with which the picture should fade in
  365. when the screen is opened. HAM pictures can't be faded.
  366.  
  367. FADEOUT
  368. =======
  369.  
  370.    Short form: FO
  371.  
  372.    Argument range: 1 to 4. Default is no value.
  373.  
  374.    This value specifies the speed with which the picture should fade
  375. out when the screen is closed. HAM pictures can't be faded. Only useful
  376. in combination with DELAY (otherwise the picture will be in the back,
  377. were the fade isn't visible! :).
  378.  
  379. FADEWB
  380. ======
  381.  
  382.    Short form: FWB
  383.  
  384.    Argument range: 1 to 4. Default is no value.
  385.  
  386.    This value specifies the speed with which the Workbench screen
  387. should fade in when the picture screen have been closed. Intended to be
  388. used in combination with the FADEOUT (and DELAY) argument(s).
  389.  
  390. DELAY
  391. =====
  392.  
  393.    Short form: DL
  394.  
  395.    A "problem" with PicBoot is that the Workbench screen first
  396. opens, and then processes the Sys:WBStartup drawer, which takes a
  397. little time. This means that the picture PicBoot shows disappear
  398. before the boot is complete. To avoid this problem, the DELAY switch
  399. can be use to specify the number of ticks (there are 50 ticks each
  400. second) PicBoot will wait after the Workbench screen have opened.
  401.  
  402.    However, this isn't perfect. When the Workbench screen opens, the
  403. PicBoot screen must be brought back to the front again. This causes a
  404. little "flicker". To avoid this, use the PATCH parameter as well (this
  405. feature requires OS 3.0+ to work).
  406.  
  407.    There is a special delay value, 0, which causes PicBoot to wait
  408. until you either press any mouse button, or another program sends
  409. PicBoot a break signal (CTRL-C). The program StopPicBoot was
  410. written to do this.
  411.  
  412. PATCH
  413. =====
  414.  
  415.    Short form: P
  416.  
  417.    If this switch is specified, PicBoot will install a patch in
  418. Intuition, so that the Workbench screen (or rather, any screen
  419. opened, that explicitly doesn't say that the screen shouldn't open
  420. behind the others) doesn't open in front of the PicBoot screen. This
  421. removes the "flicker" that normally occurs when using the DELAY option.
  422. For this option to be useful, the DELAY parameter must be used as well.
  423.  
  424.        Note 1: This option only works on OS 3.0 or higher. This is
  425. due to the OS (as far as I know), and there is nothing I can do about
  426. it (tech note: Workbench in OS 2.0x doesn't seem to call the open
  427. screen function via the external library vector).
  428.  
  429.        Note 2: This kind of patching is not a recommended thing to
  430. do. Programs should not do temporary patches like this. However, to
  431. avoid the flickering, there is no alternative.. :)
  432.  
  433.        Note 3: In case some other program patches the same function
  434. after PicBoot have installed its patch - and you don't have a program
  435. like e.g. SetMan installed - then PicBoot will leave a small memory
  436. allocation behind (6 bytes), to avoid any problems.
  437.  
  438. DETACH
  439. ======
  440.  
  441.    Short form: D
  442.  
  443.    If this switch is specified, PicBoot will detach from its calling
  444. CLI when the picture is fully loaded and displayed. If you specify this
  445. option, you shouldn't "Run" PicBoot. This option will reduce memory
  446. fragmentation, and will ensure that the picture gets loaded quickly. I
  447. don't think this feature will cause any problems, but I added the
  448. switch just in case.
  449.  
  450. ACTIVATEWB
  451. ==========
  452.  
  453.    Short form: AWB
  454.  
  455.    If this argument is specified, then PicBoot will try to activate a
  456. Workbench window after closing the picture. This might be useful if
  457. you are using the DELAY argument.
  458.  
  459. Known problems
  460. **************
  461.  
  462.    I do not know of any real bugs in PicBoot. However, certain parts
  463. of the program may still contain bugs. E.g.,  pictures that have a mask
  464. bitplane (mskHasMask) are supported, but since I only have one
  465. (compressed) picture that have a mask, there might be a bug in that
  466. code (can't test it properly).  Please report any problems!
  467.  
  468.    Currently there is no support for SHAM, PCHG and similar pictures.
  469. These pictures aren't that common, and I have an Amiga with
  470. AA-graphics, so... :) Color cycling is currently ignored (I have no
  471. need for it).
  472.  
  473.    Interlaced GIF pictures aren't supported at the moment. The
  474. decompression of such pictures would be slower, and there are tools that
  475. can de-interlace a picture.
  476.  
  477.        PicBoot doesn't remap GIF files in any way. Even if you have
  478. ECS, GIF files can still be useful. This is because a GIF file can have
  479. from 2 to 256 colors (inclusive). Thus, if you have a program that can
  480. save a 16-color picture as a 16-color GIF file, there will be no
  481. problem to view it with PicBoot.
  482.  
  483.        PicBoot doesn't make use of any "chunky to planar" hardware,
  484. if it should happen to be installed (e.g. Aikiko). Anyone who have it,
  485. so I can test it if I should decide implement it? :) It would be fairly
  486. simple to do, since my own (rather fast, I might add :) chunky to
  487. planar routines have very similar restrictions.
  488.  
  489.    The "best mode" routine used in the GIF reader isn't good at all
  490. (this includes the ROM function in OS 3.0+! :). I suggest you use the
  491. MODEID parameter instead (Correction: The ROM function isn't good when
  492. there are several different monitors to choose from. If only one or two
  493. (similar) monitors are available, then the result is usually rather
  494. good).
  495.  
  496.    Pictures with more than 8 bitplanes are currently not supported by
  497. PicBoot.
  498.  
  499.    The centering for (some?) Super72 screens doesn't work. I suspect
  500. this is an OS-"bug" (I know that PicBoot calculates a reasonable
  501. offset, which Intuition seems to ignore).
  502.  
  503. StopPicBoot
  504. ***********
  505.  
  506.        StopPicBoot is a small program that simply tells PicBoot to
  507. quit, if it should happen to be in memory. This is useful in
  508. combination with the DELAY option. If this is set to 0, PicBoot
  509. expects someone to tell it when it is time to exit, and this is what
  510. StopPicBoot does.
  511.  
  512.    By having StopPicBoot in Sys:WBStartup, then PicBoot will
  513. close its screen when the boot process almost complete (the tooltype
  514. STARTPRI should be very low (-120 or so), so that StopPicBoot is
  515. started as the last program)
  516.  
  517. GetModeID
  518. *********
  519.  
  520.        GetModeID is a simle program that shows a Asl or
  521. ReqTools screenmode requester, whichever is available. The program
  522. will then print out the decimal identifier for the selected screenmode,
  523. suitable for use together with the MODEID parameter. This program can
  524. only be used from a Shell. Example usage:
  525.  
  526.        PicBoot Island.Gif MODEID `GetModeID`
  527.  
  528.    This will first show a screenmode requester (if you have one, that
  529. is), and then show the GIF-picture in the selected screenmode.
  530.  
  531. UnpackILBM
  532. **********
  533.  
  534.        UnpackILBM is another simple program (at least in theory...
  535. :). It will take any IFF ILBM picture and unpack the so called BODY
  536. chunk in it (this is the actual image data). This means that e.g.
  537. PicBoot will be able to display that image a little faster, at
  538. least if loading it from some fast media. Or you could repack the
  539. picture with PowerPacker/Xpk, to maximize the compression (as the
  540. compression used in IFF ILBM isn't a very efficient one. But on the
  541. other hand, it is rather fast and simple). Example usage:
  542.  
  543.        UnpackILBM Island.Pic Island.Pic.NoComp
  544.        UnpackILBM Island.Pic
  545.  
  546.    The first example till unpack the picture to a new one, while the
  547. other will - via a temprary file - overwrite the original picture with
  548. the uncompressed version.
  549.  
  550.        Note: I haven't tested this program that much. I've converted
  551. a few pictures, so it seems to work fine (at least when there aren't any
  552. errors), but one can never now.. Please report any problems!
  553.  
  554.        Note: This program doesn't strip any information. All chunks
  555. will remain. The picture data is only decompressed.
  556.  
  557. Author contact
  558. **************
  559.  
  560.        PicBoot was written by Magnus Holmgren. If you have any
  561. comments etc, feel free to send me a note. You can reach me via
  562. internet on this address:
  563.  
  564.      cmh@augs.se
  565.  
  566.    Fido-net messages should go to "Magnus Holmgren",
  567. 2:204/404.6@fidonet.org.  Snail mail should reach me if you write the
  568. following address on the envelope:
  569.  
  570.      Magnus Holmgren
  571.      Kvarnbergsvägen 4
  572.      S-444 47  Stenungsund
  573.      SWEDEN
  574.  
  575. Version history
  576. ***************
  577.  
  578. Version 1.00-1.03
  579. =================
  580.  
  581.    Ancient versions.
  582.  
  583. Version 2.0
  584. ===========
  585.  
  586.    Release date: 29 Mar 94
  587.  
  588.    *  BLACK argument removed. Not needed any more, since PicBoot now
  589.      will first allocate the needed memory, decode the picture into
  590.      this memory, and then open the screen. This makes the screen
  591.      opening/closing a little faster too (practically instaneous on my
  592.      A4000/040).
  593.  
  594.    *  Pictures (or rather, brushes) that were less than 16 pixels wide
  595.      wouldn't decompress properly... :)
  596.  
  597.    *  Added support for the CMAPOK flag in the BitMapHeader.bmh_Flags
  598.      (previously called bmh_Pad) field (if this flag is set it
  599.      indicates that the color map contains 8 bits/color rather than 4
  600.      bits/color).
  601.  
  602.    *  Major code cleanup. Made the program somewhat larger, but... :)
  603.  
  604.    *  GIF support added. Should be a little faster than PPShow.. :)
  605.  
  606.    *  The MODEID argument wasn't properly "passed on" to any following
  607.      listfile(s).
  608.  
  609.    *  Rewrote rtGetModeID into GetModeID, that first checks for
  610.      Asl, and then tries with ReqTools before giving up. This new
  611.      version is in C, compiled with DICE, without any startup code, and
  612.      is fully residentable. :) See GetModeID.
  613.  
  614.    *  Included UnpackILBM, that takes any IFF ILBM file (with a BODY
  615.      chunk, i.e. a normal picture) and writes it with an uncompressed
  616.      BODY instead. Written upon user request. See UnpackILBM.
  617.  
  618. Version 2.1
  619. ===========
  620.  
  621.    Release date: 14 May 94
  622.  
  623.    *  The DEFAULT parameter didn't do anything. Fixed
  624.  
  625.    *  UpackILBM and GetModeID updated a little. Version string
  626.      added, recompiled with DICE 3.0 and some other minor changes.
  627.  
  628. Version 2.2
  629. ===========
  630.  
  631.    Release date: 12 Jul 94
  632.  
  633.    *  If the listfile was too short (i.e. not enough number of lines in
  634.      it), PicBoot would crash.
  635.  
  636.    *  Made the detaching code more system friendly. I hope this will
  637.      fix the problems a few users have had.
  638.  
  639.    *  A few minor bugs fixed + some minor optimizations...
  640.  
  641.    *  If the number on the first line in the listfile is 0, then
  642.      PicBoot will exit silently. Now why did I add this... >;)
  643.  
  644.    *  Improved the random number algorithm.
  645.  
  646.    *  Added the DELAY parameter.
  647.  
  648.    *  Added the PATCH parameter.
  649.  
  650.    *  Tweeked the GIF-unpacker a little. Found yet another Macro68
  651.      (V3.170) bug while doing that.. :/ (Watch out for bra.l to other
  652.      sections/modules when generating code for the 68020+. The branch
  653.      target is not correct. :)
  654.  
  655. Version 2.3
  656. ===========
  657.  
  658.    Release date: 30 Aug 94
  659.  
  660.    *  Rewrote startup code and argument parser in C, for easier
  661.      maintainance (and to simplify the implementation of some of the
  662.      features below).
  663.  
  664.    *  You can now also specify a directory (with optional pattern
  665.      matching), and PicBoot will randomly select among the files
  666.      found. As usual, you can use this feature whereever PicBoot used
  667.      to expect a file name.
  668.  
  669.    *  If the comment field of a file that PicBoot will read (i.e. a
  670.      list file or a picture) starts with the string "*PicBoot*: " (case
  671.      sensitive), then the rest of the comment is assumed to be
  672.      arguments, to be parsed like they had been found in a list file.
  673.  
  674.    *  UnpackILBM will not delete the temp file if it couldn't be
  675.      renamed to the original.
  676.  
  677.    *  Removed a piece of debug code in the OpenScreen() patch (it
  678.      flashed the screen). Harmless, but annoying.. :)
  679.  
  680. Version 2.4
  681. ===========
  682.  
  683.    Release date: 11 Oct 94
  684.  
  685.    *  Added the arguments FADEIN, FADEOUT and FADEWB, to make various
  686.      color fades when the screen is opened/closed.
  687.  
  688.    *  Modified the random routines again (changed the seed source). I
  689.      hope it works better now.. :)
  690.  
  691.    *  If DETACH was used and a relative filename was used, then the file
  692.      wasn't found (except in some cases).
  693.  
  694.    *  Using PATCH in combination with DELAY on pre-OS 3.0 systems
  695.      caused a "Not enough memory" message to be printed, and the picture
  696.      wasn't showed (the argument should silently be ignored).
  697.  
  698.    *  Some error messages lacked a final linefeed char (an autodoc was
  699.      a bit misleading.. :).
  700.  
  701.    *  The DELAY was incorrectly interpreted as seconds, and not as
  702.      ticks.
  703.  
  704.    *  Closing the picture before a DELAY timeout had expired caused a
  705.      crash.
  706.  
  707. Version 2.5
  708. ===========
  709.  
  710.    Release date: 13 Oct 94
  711.  
  712.      The Workbench screen wasn't "unlocked" in some cases (when either
  713.      FADEWB or ACTIVATEWB had been used).
  714.  
  715. Version 2.6
  716. ===========
  717.  
  718.    Release date: 30 Nov 94
  719.  
  720.    *  Added RTG switch, which will make PicBoot attempt to be more
  721.      compatible with various "Intuition emulators" for gfx-cards. Don't
  722.      use this switch if you don't need to; it will cause the screen to
  723.      be opened before the rendering (possibly making it slower).
  724.  
  725.      Also added WRITEPIXELLINE, which may improve the speed of the GIF
  726.      reader sometimes, when using the RTG-mode.
  727.  
  728.      Thanks go to Roger Westerlund, who made me actually try to make
  729.      PicBoot RTG friendly, and also did all the needed testing (I
  730.      don't have any gfx-card :/).
  731.  
  732.    *  Changed the screenmode id "validator". Needed for better RTG
  733.      compatibility.
  734.  
  735.    *  Some fade related code was a bit broken, causing problems with
  736.      e.g.  HAM-pictures.
  737.  
  738.    *  UnpackILBM is now able to decompress via a temporary file if the
  739.      file and the current directory are on different volumes. Also
  740.      improved some error reporting.
  741.  
  742.    *  GetModeID now filters out some useless modes (the dual payfield
  743.      (DPF) ones). Also, the ReqTools screen mode requester didn't
  744.      show "non standard" modes (such as HAM and EHB).
  745.  
  746. Version 2.7
  747. ===========
  748.  
  749.    Release date: 17 Jul 95
  750.  
  751.    Well, I started working on this version a couple of months ago
  752. (making it almost finished), but then I forgot all about it.. :)
  753.  
  754.    *  PicBoot didn't unlock the drawer after a directory scanning.
  755.  
  756.    *  PicBoot could hang if a DELAY was requested, and the picture was
  757.      closed before the Workbench window had opened.
  758.  
  759.    *  PicBoot didn't handle names with spaces in them very well..
  760.  
  761.    *  Fixed some bugs in the IFF reader that could cause crashes.
  762.  
  763.    *  Added support for Xpk packed/encrypted IFF files.
  764.  
  765.    *  Made GetModeID a bit smaller. Didn't think twice before adding
  766.      the mode filter.. :)
  767.  
  768.    *  UnpackILBM would report an error and delete the file if the same
  769.      file was specified in both FROM and TO. Now only the error is
  770.      reported.
  771.  
  772.